package com.bitantenna.player;


import com.bitantenna.SpotInfo;

public class ConsumerTableModel extends ListTableModel {

	public String[] customHeader() {
		return "address,port".split(",");
	}

	public String[] customInfo(Object o) {
		SpotInfo spot=(SpotInfo)o;
		return new String[]{""+spot.consumerPortAddress().address(),""+spot.consumerPortAddress().port()};
	}

}
